{* Smarty *}
{if isset($msg)}
	<tt><font color="red">{$msg}</font></tt>
{else}
{if $result}
	<tt>{t}Welcome to{/t} {$sitename} <a href="/user/login">{t}Sign In{/t}</a></tt>
{else}
	<tt>{t}Incorrect code or already used{/t}</tt>
{/if}
{/if}